import { isStatic } from '@/utils/common'
/**
 * 获取静态资源引用路径
 * @param {String} destPath 目标路径
 */
const staticPath = destPath => {
  return (isStatic() ? './' : '/') + destPath
}

export default {
  staticPath
}
